@charset "utf-8";

.mh-nav-tabs {
  margin: 2rem 0;
}

.mh-nav-tabs-navs {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  
  .mh-nav-tabs-nav-indicator {
    display: block;
    position: absolute;
    width: 100px;
    height: 4px;
    background: $brand-primary;
    border-radius: 1px;
    left: 0;
    bottom: 0;
    transform-origin: left;
    transition: transform 333ms;
  }
  
  .mh-nav-tabs-nav {
    display: inline-block;
    
    a {
      display: inline-block;
      padding: .5rem 1rem;
      
      &:hover,
      &:focus {
        text-decoration: none;
      }
    }
    
    &.active {
      a {
        color: $brand-primary;
      }
    }
  }
}

.mh-nav-tabs-panels {
  
}

.mh-nav-tabs-panel {
  display: none;
  opacity: 0;
  transform: translate(0, 60px);
  transition: opacity 333ms, transform 333ms;
  
  &.active {
    display: block;
  }
  
  &.show {
    opacity: 1;
    transform: translate(0, 0);
  }
}